Skip to content

Open auth browser without keypress prompt#7668

Draft
gonzaloriestra wants to merge 1 commit into
mainfrom
open-auth-browser-directly
Draft

Open auth browser without keypress prompt#7668
gonzaloriestra wants to merge 1 commit into
mainfrom
open-auth-browser-directly

Conversation

@gonzaloriestra
Copy link
Copy Markdown
Contributor

@gonzaloriestra gonzaloriestra commented May 29, 2026

WHY are these changes introduced?

The login flow currently pauses in interactive terminals and asks users to press a key before Shopify CLI opens the browser. We want authentication to start directly by opening the browser, making it easier for agents.

WHAT is this pull request doing?

  • Removes the keypress() wait and "Press any key" message from the interactive device auth flow.
  • Keeps the existing manual-link fallback when the browser can't be opened.

How to test your changes?

shopify auth login

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes
  • I've considered analytics changes to measure impact
  • The change is user-facing — I've identified the correct bump type (patch for bug fixes · minor for new features · major for breaking changes) and added a changeset with pnpm changeset add

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions Bot added the Area: @shopify/cli @shopify/cli package issues label May 29, 2026
Comment thread packages/cli-kit/src/private/node/session/device-authorization.ts
@gonzaloriestra gonzaloriestra force-pushed the open-auth-browser-directly branch from 71132c0 to 5fed826 Compare June 1, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: @shopify/cli @shopify/cli package issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants